<?php
require_once '../../includes/checklogin.php';
require_once '../../includes/include_admin.php';
require_once '../../script/include/banner.php';
require_once '../../script/include/menu.php';
require_once '../../script/include/footer.php';
require_once 'getcontent.php';
global $tpl;
$file_info = 'news/listcatnew';
$params = array('catId' => $_GET['catId'],'name'=>$_GET['name']);
$html = $tpl->get_main($file_info, 2);
$html = $tpl->get_vars($html, array('banner' => get_banner(), 'menu' => get_menu(), 
                        'frm_list_new_by_cat' => get_template(8, $params), 'footer' => get_footer()));
$tpl->show_tpl($html);
?>
